package com.knight.condition;

import java.util.Random;

public class Data {
    private Integer id;
    private String name;

    public Data() {
        id = new Random().nextInt(10000);
        name = "name"+id;
    }

    @Override
    public String toString() {
        return "Data{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
